package com.sjlh.centurylianhua.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 商品类别表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName(value = "producttype")
public class ProductType {
    @TableId(type= IdType.AUTO)
    private Integer id;//商品类别编号
    private String name;//商品类别名称
    @TableField(value = "ifSon")
    private Integer ifSon;//是否子节点
    @TableField(value = "ifFather")
    private Integer ifFather;//是否父节点
    private String standby1;//状态
    private String standby2;
    private String standby3;
}
